package com.hualan.sfzyproject.mapper;

import com.hualan.sfzyproject.domain.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author LUCK
* @description 针对表【users】的数据库操作Mapper
* @createDate 2025-01-02 16:01:40
* @Entity com.hualan.sfzyproject.domain.Users
*/
@Mapper
public interface UsersMapper {

    int deleteByPrimaryKey(Long id);

    // 注册
    int insertSelective(Users record);
    // 通过id查询
    Users selectByPrimaryKey(String id);
    // 通过用户名查询
    Users selectByUsername(String username);
    //动态sql修改
    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

}
